import {javaInstance} from '@/utils/https.js'

// 获取今日新增作品数量
export const newClothNumApi = () => {
    return javaInstance({
        url: '/clothes/getNewClothNum',
        method: 'GET'
    })
}

// 获取admin分页查询
export const clothesPageApi = (params,data) => {
    return javaInstance({
        url: '/clothes/getClothPage',
        method: 'POST',
        params,
        data
    })
}

// 获取admin分页查询
export const delclothByIdApi = (params) => {
    return javaInstance({
        url: '/clothes/delete',
        method: 'DELETE',
        params
    })
}